<div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header"><?php echo $title;?></h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <?php echo $title_table;?>
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <?php
                                if(isset($check)&&$check==true){
                                    echo "<label for='disabledSelect' style='color:red;'>Cập nhật thành công !</label>";
                                }
                            ?>
                            <div class="table-responsive">
                                <form action="" method="post" id="form" >
                                <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tbody>
                                        <?php
                                            foreach($data as $row){
                                                ?>
                                                <tr class="odd gradeX">
                                                    <td><label>Title: </label></td>
                                                    <td>
                                                        <input type="text" name="title" maxlength="70"  value="<?php echo $row['title']; ?>" size="50" required  />
                                                        <label for="title">(*)</label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><label>Description (*): </label></td>
                                                    <td>
                                                        <textarea cols="70" rows="5" name="des" ><?php echo $row['des']; ?></textarea>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><label>Keyword: </label></td>                                                 
                                                    <td><input type="text" name="keyword" value="<?php echo $row['keyword']; ?>" size="50" /></td>
                                                </tr>
                                                <tr>
                                                    <td><label>Admin Email (*): </label></td>
                                                    <td>
                                                        <input type="text" name="email" value="<?php echo $row['email']; ?>" size="50" />
                                                    </td>
                                                </tr>                                               
                                                <?php
                                            }
                                        ?>
                                        <input type="hidden" name="id" value="<?php echo $row['id'];?>" />
                                        <tr>
                                            <td>
                                                <input type="submit" name="submit" value="Hoàn tất" />
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                                </form>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
                
</div>
<!-- /#page-wrapper -->